/* Copyright 2018 JDCLOUD.COM

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http:#www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

敏感操作配置
操作敏感操作配置接口

OpenAPI spec version: v1
Contact: 

NOTE: This class is auto generated by the jdcloud code generator program.
*/


#ifndef SopApiModel_h
#define SopApiModel_h
#import <JDCloudOCSDKCore/JDCloudOCSDKCore.h>
#import <JDCloudOCSDKSop/SopModel.h>


@interface SopGetSecurityTokenResult : NSObject
/// 安全令牌
 @property (strong,nonatomic,nonnull)  NSString*  securityToken;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithSecurityToken:(NSString*) securityToken;
@end

@interface SopGetSensitiveOpSettingResult : NSObject
/// 操作保护启用状态：0-未启用, 1-已启用
 @property (strong,nonatomic,nonnull)  NSNumber*  status;
/// 操作保护验证方式：0-无, 1-短信, 2-邮箱, 3-MFA
 @property (strong,nonatomic,nonnull)  NSNumber*  type;
/// 扩展信息，type&#x3D;1时为掩码后的手机号码 type&#x3D;2时为掩码后的邮箱地址
 @property (strong,nonatomic,nonnull)  NSString*  extInfo;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithStatus:(NSNumber*) status

    type:(NSNumber*)type

    extInfo:(NSString*)extInfo;
@end

@interface SopGetSensitiveOpSettingRequest:JDCloudRequest

/// 操作action serviceName:actionName
@property (strong,nonatomic,nonnull)  NSString*  action;
-(id) initWithRegion:(NSString *)regionId
action:(NSString*)action;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
action:(NSString*)action;

@end

@interface SopGetSecurityTokenRequest:JDCloudRequest

/// 获取SecurityToken参数
@property (strong,nonatomic,nonnull)  GetSecurityTokenInfo*  getSecurityTokenInfo;
-(id) initWithRegion:(NSString *)regionId
getSecurityTokenInfo:(GetSecurityTokenInfo*)getSecurityTokenInfo;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
getSecurityTokenInfo:(GetSecurityTokenInfo*)getSecurityTokenInfo;

@end

@interface SopGetSecurityTokenResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property SopGetSecurityTokenResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(SopGetSecurityTokenResult*) result;
@end

@interface SopGetSensitiveOpSettingResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property SopGetSensitiveOpSettingResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(SopGetSensitiveOpSettingResult*) result;
@end

#endif /* SopApiModel_h */
